#include <stdio.h>
#include <string.h>

int main ()
{
  char str1[]="hello\0";
  printf("str1 (%u)\n",(unsigned)strlen(str1));
  char str2[100];

  printf("str2 (%u)\n",(unsigned)strlen(str2));


  
  strncpy (str2,str1,10);
  printf("str1 (%u)\n",(unsigned)strlen(str1));
  printf("str2 (%u)\n",(unsigned)strlen(str2));


  return 0;
}
